import { CLOSE_MENU, OPEN_MENU, UPDATE_NAME } from './type'

export function closeMenu() {
  return {
    type: CLOSE_MENU
  }
}

export function openMenu() {
  return {
    type: OPEN_MENU
  }
}

export function updateName(name) {
  return {
    type: UPDATE_NAME,
    name
  }
}
